package com.epam.OOP.transport;

import com.epam.OOP.cargo.CargoLoader;

/**
 * Created with IntelliJ IDEA.
 * User: Yelena_M
 * Date: 04.08.13
 * Time: 23:48
 * To change this template use File | Settings | File Templates.
 */
public class Lorry extends CargoLoader {

    private int lengthBody; //Length of lorry body
    private int widthBody; //Width of lorry body
    private int heightBody; //Height of lorry body

    public Lorry() {
        super();
    }

    public Lorry(int lengthBody, int widthBody, int heightBody) {
        super();
        this.lengthBody = lengthBody;
        this.widthBody = widthBody;
        this.heightBody = heightBody;
    }

    public int getLengthBody() {
        return lengthBody;
    }

    public void setLengthBody(int lengthBody) {
        this.lengthBody = lengthBody;
    }

    public int getWidthBody() {
        return widthBody;
    }

    public void setWidthBody(int widthBody) {
        this.widthBody = widthBody;
    }

    public int getHeightBody() {
        return heightBody;
    }

    public void setHeightBody(int heightBody) {
        this.heightBody = heightBody;
    }

    @Override
    public String toString() {
        return "Lorry{" +
                "lengthBody=" + lengthBody +
                ", widthBody=" + widthBody +
                ", heightBody=" + heightBody +
                '}';
    }
}
